from functools import partial

x = partial(int,base=2)
print(x('100101001'))
